package com.itheima.test;

import javax.xml.bind.SchemaOutputResolver;

public abstract class Driver {
    public void go(){
        System.out.println("开车门");
        System.out.println("打火");
        run();
        System.out.println("刹车");
        System.out.println("熄火");
    }
    public abstract void run();
}
